﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data;
using DTO;

namespace Banking.Nhân_viên
{
    public partial class ChiTietKHCaNhan : UserControl
    {
        KhachHang khDTO;
        public ChiTietKHCaNhan(KhachHang kh)
        {
            InitializeComponent();
            khDTO = kh;
        }

        private void ChiTietKHCaNhan_Load(object sender, EventArgs e)
        {
            txtChiNhanh.Text = khDTO.TruSo.Ten;
            txtMaKH.Text = khDTO.MaKH.ToString();
            txtHoTen.Text = khDTO.Ten;
            dtNgaySinh.Value = khDTO.NgaySinh;
            txtCMND.Text = khDTO.CMND.ToString();
            txtPassPost.Text = khDTO.PassPost;
            txtDiaChi.Text = khDTO.DiaChi;
            txtDienThoai.Text = khDTO.SoDT;
        }
    }
}
